Skip to content

CLOUDSTACK-10013: Migrate to Debian9 for systemvmtemplate#2198

Closed
yadvr wants to merge 1 commit into
apache:masterfrom
shapeblue:debian9-systemvmtemplate
Closed

CLOUDSTACK-10013: Migrate to Debian9 for systemvmtemplate#2198
yadvr wants to merge 1 commit into
apache:masterfrom
shapeblue:debian9-systemvmtemplate

Conversation

@yadvr

@yadvr yadvr commented Jul 23, 2017

Copy link
Copy Markdown
Member

WIP support for Debian9

Refer: #1864

@yadvr

yadvr commented Jul 24, 2017

Copy link
Copy Markdown
Member Author

Linked request: jedi4ever/veewee#1106

@wido

wido commented Jul 24, 2017

Copy link
Copy Markdown
Contributor

Looking good! We will probably need a few systemd services with the type OneShot as well, for cloud-early-config and such.

Did you look at that yet?

@yadvr

yadvr commented Jul 24, 2017

Copy link
Copy Markdown
Member Author

@wido not yet, still in progress. I'm unable to get partitioning work right, I've asked veewee authors to help with a base debian9 template that I can use, I'm waiting on their comments on the linked request.

${apt_get} -t wheezy-backports install strongswan libcharon-extra-plugins libstrongswan-extra-plugins
sharutils \
keepalived irqbalance open-vm-tools qemu-guest-agent \
strongswan libcharon-extra-plugins libstrongswan-extra-plugins

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using strongswan needs some extra work in the vpn config python scripts (it is not a one to one replacement). Just wanted to point that out.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@resmo but we moved to strongswan since 4.10 see we were installing strongswan from wheezy-backports /cc @swill ?

@resmo resmo Jul 24, 2017

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rhtyd @swill seems I missed that one, and the f045d65 does the changes needed. never mind. :)

@wido

wido commented Jul 26, 2017

Copy link
Copy Markdown
Contributor

@rhtyd: The partitioning is a preseed thing, right? Can you tell what you are stuck on?

It's not a Veewee thing, correct?

@yadvr

yadvr commented Jul 26, 2017

Copy link
Copy Markdown
Member Author

@wido it gets stuck and asks questions about some packages, we'll need to go through the questions it is stuck on and configure those boolean/args. See jedi4ever/veewee#1106 discussion.

@wido

wido commented Jul 26, 2017

Copy link
Copy Markdown
Contributor

@rhtyd: Ok, that sounds doable! I've done quite some preseed work. Let me see if I can fix this.

@yadvr yadvr force-pushed the debian9-systemvmtemplate branch 4 times, most recently from 4b7809c to 41f16ca Compare July 28, 2017 13:11
@yadvr

yadvr commented Jul 28, 2017

Copy link
Copy Markdown
Member Author

@wido I've got this to a stage where the VM is built and scripts run to install pkgs and configure it. However, given Debian9 is systemd based we'll need a lot of work to migrate existing scripts/code to be systemd aware. I've started some work in this regard but I think it may be a bigger refactoring effort than I previously thought.

@yadvr

yadvr commented Jul 28, 2017

Copy link
Copy Markdown
Member Author

a

@yadvr yadvr force-pushed the debian9-systemvmtemplate branch 5 times, most recently from 8fcb5d7 to a2fb36d Compare July 28, 2017 17:51
@apache apache deleted a comment from blueorangutan Jul 28, 2017
@apache apache deleted a comment from blueorangutan Jul 28, 2017
@apache apache deleted a comment from blueorangutan Jul 28, 2017
@yadvr yadvr force-pushed the debian9-systemvmtemplate branch from a2fb36d to 5380da9 Compare July 28, 2017 18:20
@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-881

  SystemVM changes to work on Debian 9
- Migrate away from chkconfig to systemctl
- Remove xenstore-utils override deb pkg
- Fix runlevel in sysv scripts for systemd

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@yadvr yadvr force-pushed the debian9-systemvmtemplate branch from 5380da9 to 319c457 Compare July 28, 2017 19:21
@yadvr

yadvr commented Jul 28, 2017

Copy link
Copy Markdown
Member Author

Basic template building works now, closing this in favour of #2211 which allows for commits/collaboration with other committers

@yadvr yadvr closed this Jul 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants